package com.jiang.service;

import java.util.List;
import java.util.Map;
import java.util.Set;

import com.jiang.vo.News;

public interface INewsService {

	public boolean addNews(News news) throws Exception;

	public boolean updateNews(News news) throws Exception;
	
	public boolean batchRemove(Set<Integer> nids) throws Exception;
	
	public News findById(int nid) throws Exception;
	
	public List<News> find(String column, String value) throws Exception;
	
	public List<News> findAll() throws Exception;
	
	public Map<String, Object> findSplit(String column,String value, int curPage, int lineSize) throws Exception;
	
	
	
}
